package com.djl.springcloud.alibaba.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.djl.springcloud.entities.CommonResult;
import com.djl.springcloud.entities.Payment;

/**
 * @program: cloud
 * @description:
 * @author: Mr.dai
 * @create: 2021-09-30 17:26
 **/

public class consumterBlockHandler {
    public static CommonResult handlerException(BlockException exception){
        return new CommonResult(444,"按照客户自定义-----1");
    }

    public static CommonResult handlerException2(BlockException exception){
        return new CommonResult(444,"按照客户自定义-----2");
    }
}
